package com.tian.source.service;


import com.tian.source.model.User;
import com.tian.core.base.service.BaseService;

/**
 * @author YangTao
 * @date 2025/4/18
 */
public interface UserService extends BaseService<User> {

    /**
     * 用户登录
     * @param user
     * @return
     */
    User login(User user);

    /**
     * 修改用户密码
     * @param userId
     * @param password
     */
    void updatePwd(Integer userId,String password);

}
